<template>
  <div class="simulator_btn_box">
    <el-radio-group
      @change="handGroup"
      v-model="simulatorType"
      size="small"
      text-color="#2680D2"
      fill="#D4E6F6"
      style="width: 100%"
    >
      <el-radio-button label="单例模拟"></el-radio-button>
      <el-radio-button label="多例模拟"></el-radio-button>
    </el-radio-group>
  </div>
</template>

<script>
export default {
  data() {
    return {
      simulatorType: "单例模拟",
    };
  },
  methods: {
    handGroup(val) {
      this.$emit("handGroup", val);
    },
  },
};
</script>

<style lang='scss' scoped>
.simulator_btn_box {
  padding: 0 10px;
  /deep/ .el-radio-button {
    width: 50%;
  }
  /deep/ .el-radio-button__inner {
    width: 100%;
  }
}
</style>